/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package multitrack.preload;

import javax.sound.sampled.AudioFormat;

/**
 *
 * @author PYW
 */
public interface AudioBuffer {

    public int read(int fromSample, int sampleCount, short[] target) throws InterruptedException;

    public int samples();

    public AudioFormat format();
}
